import time

# t = time.time()
# print(t)
# time.sleep(1)
# print(time.time())
# for i in range(10):
#     # print(time.time())
#     # print(time.strftime('%Y-%m-%d %H:%M:%S'))
#     # print(time.asctime())
#     # t = time.time()
#     # print(time.ctime(t))  # 默认打印国外时间格式
#     # print(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(t)))  # 时间戳转换成字符串格式
#     # print(time.localtime(t))
#     t1 = time.strftime('%Y-%m-%d %H:%M:%S')
#     print(time.strptime(t1, '%Y-%m-%d %H:%M:%S'))
#     time.sleep(1)

# print(time.gmtime(10))
print(time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(500)))